package com.gs.example.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: gs
 * @Date: 2023/11/22 21:06
 * @Version: v1.0.0
 * @Description: TODO
 **/

@RestController
@RequestMapping("/demo")
public class DemoOneController {

    @GetMapping("/echo")
    public String echo() {
        System.out.println("打印测试第一个spring  boot");
        return "echo";
    }
}
